<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<h1>我是页面B</h1>
	<body>
		<button type="button" onclick="Jump2();">点我跳到页面C</button><br />
		<button type="button" onclick="Advance();">前进</button>
		<button type="button" onclick="Retreat();">后退</button><br />
		<button type="button" onclick="Refresh();">点我刷新</button>
	</body>
	<script type="text/javascript">
		function Advance(){
			history.back();
		}
		function Retreat(){
			history.forward();
		}
		function Jump2(){
			location.href='locationC.html';
		}
		function Refresh(){
			location.reload();
		}
	</script>
</html>
